package com.xypw.models;

import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;

@Table(name="tb_ComCerInfo")
public class ComCerInfo extends BaseInfo{
	
	// ID号
	@Id
	private int id;
	// 在来源方中的id，用于扫描和XML传输
	@Column
	private int indexId;
	// 信息来源
	@Column
	private String source;
	// 项目信息录入者
	@Column
	private String input;
	
	// 信息发布部门
	@Column
	private String proPublishDep;
	// 信息发布部门编码
	@Column
	private String proPublishDepCode;
	// 项目信息管理部门
	@Column
	private String proManageDep;
	// 项目信息管理部门编码
	@Column
	private String proManageDepCode;
	// 部门类别
//	@Column
//	private String departmentType;
	// 行业
	@Column
	private String industry;
	// 项目发布时间
	@Column
	private String proPublishDate;
	// 项目所属地区
	@Column
	private String area;
	// 项目所属地区编码
	@Column
	private String areaCode;
	// 信息状态
	@Column
	private int statusFlag;
	// 退回原因
	@Column
	private String rejectReason;
	// 建立日期
	@Column
	private String saveDate;
	// 退回日期
	@Column
	private String rejectDate;
	// 备注
	@Column
	private String remark;
	
	// 所属公司ID
	@Column
	private int comId;
	// 所属公司名称
	@Column
	private String comName;
	// 所属公司组织机构代码
	@Column
	private String comOrgCode;
	// 法定代表人信息
	@Column
	private String legalRepresentative;
	// 资质名称及等级
	@Column
	private String qualification;
	// 资质证书号
	@Column
	private String cerRegNo;
	// 资质证书核发日期
	@Column
	private String issueDate;
	// 资质证书核发单位
	@Column
	private String issueDepart;
	// 资质证书状态
	@Column
	private String cerStatus;
	// 有效起始日期
	@Column
	private String cerStartDate;
	// 有效到期日期
	@Column
	private String cerEndDate;
	// 是否为主项
	@Column
	private String isPrimary;
	
//	public void saveOrUpdate() throws ActiveRecordException{
//		if(id==0) {
//			this.create();
//		}else {
//			this.update();
//		}
//	}

	public int getComId() {
		return comId;
	}

	public void setComId(int comId) {
		this.comId = comId;
	}

	public String getQualification() {
		return qualification;
	}

	public void setQualification(String qualification) {
		this.qualification = qualification;
	}

	public String getCerRegNo() {
		return cerRegNo;
	}

	public void setCerRegNo(String cerRegNo) {
		this.cerRegNo = cerRegNo;
	}

	public String getIssueDate() {
		return issueDate;
	}

	public void setIssueDate(String issueDate) {
		this.issueDate = issueDate;
	}

	public String getIssueDepart() {
		return issueDepart;
	}

	public void setIssueDepart(String issueDepart) {
		this.issueDepart = issueDepart;
	}

	public String getCerStatus() {
		return cerStatus;
	}

	public void setCerStatus(String cerStatus) {
		this.cerStatus = cerStatus;
	}

	public String getCerStartDate() {
		return cerStartDate;
	}

	public void setCerStartDate(String cerStartDate) {
		this.cerStartDate = cerStartDate;
	}

	public String getCerEndDate() {
		return cerEndDate;
	}

	public void setCerEndDate(String cerEndDate) {
		this.cerEndDate = cerEndDate;
	}

	public String getIsPrimary() {
		return isPrimary;
	}

	public void setIsPrimary(String isPrimary) {
		this.isPrimary = isPrimary;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getComName() {
		return comName;
	}

	public void setComOrgCode(String comOrgCode) {
		this.comOrgCode = comOrgCode;
	}

	public String getComOrgCode() {
		return comOrgCode;
	}

	public void setLegalRepresentative(String legalRepresentative) {
		this.legalRepresentative = legalRepresentative;
	}

	public String getLegalRepresentative() {
		return legalRepresentative;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIndexId() {
		return indexId;
	}

	public void setIndexId(int indexId) {
		this.indexId = indexId;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getInput() {
		return input;
	}

	public void setInput(String input) {
		this.input = input;
	}


	public String getProPublishDep() {
		return proPublishDep;
	}

	public void setProPublishDep(String proPublishDep) {
		this.proPublishDep = proPublishDep;
	}

	public String getProPublishDepCode() {
		return proPublishDepCode;
	}

	public void setProPublishDepCode(String proPublishDepCode) {
		this.proPublishDepCode = proPublishDepCode;
	}

	public String getProManageDep() {
		return proManageDep;
	}

	public void setProManageDep(String proManageDep) {
		this.proManageDep = proManageDep;
	}

	public String getProManageDepCode() {
		return proManageDepCode;
	}

	public void setProManageDepCode(String proManageDepCode) {
		this.proManageDepCode = proManageDepCode;
	}

//	public String getDepartmentType() {
//		return departmentType;
//	}
//
//	public void setDepartmentType(String departmentType) {
//		this.departmentType = departmentType;
//	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getProPublishDate() {
		return proPublishDate;
	}

	public void setProPublishDate(String proPublishDate) {
		this.proPublishDate = proPublishDate;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public int getStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(int statusFlag) {
		this.statusFlag = statusFlag;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	public String getSaveDate() {
		return saveDate;
	}

	public void setSaveDate(String saveDate) {
		this.saveDate = saveDate;
	}

	public String getRejectDate() {
		return rejectDate;
	}

	public void setRejectDate(String rejectDate) {
		this.rejectDate = rejectDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
